package net.lzzy.entity.entity;

import jdk.jfr.DataAmount;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@DataAmount
@Component
@PropertySource("classpth:text.properties")
@ConfigurationProperties(prefix = "test")
public class MyPropertis {

    private int id;
    private String name;
}
